.gray {
    filter: gray !important;
    filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
}
html,body{
    color:#333;
}
body, button, code, div, em, h1, h2, h3, h4, h5, h6, i, input, li, p, select, span, table, td, textarea, th, ul {
margin: 0;
padding: 0;
color: inherit;
line-height: inherit;
font-family: "microsoft yahei",'PingFang SC',PingFangMedium;
box-sizing:border-box;
font-weight: normal;

}

img {border: 0;display: inline-block;max-width: 100%;vertical-align: middle;height: auto}
.flt {float: left}
.frt {float: right}
li, ul {list-style: none}
a, em, i, p, span {text-decoration: none;color: inherit;font-size: inherit}
:focus {outline: 0 !important;border-color: inherit}
.clearfix:after, .clearfix:before {display: table;line-height: 0;content: ""}
.clearfix:after {clear: both}
table {border-collapse: collapse;border-spacing: 0;width: 100%}
h3, h4, h5, h6 {font-weight: 400}
em, i {font-style: normal}
input[type=button], input[type=reset], input[type=submit], input[type=text] {-webkit-appearance: none}
input[type=button] {border: none}
textarea {-webkit-appearance: none}
.layout{
    width: 1200px;
    margin: 0 auto;
}

/* header */
.logobox{
    display: flex;
    justify-content: space-between;  
    align-items: center;
    padding: 30px 0 20px;
}

.nav-button{
    display: none;
}
.nav{
    display: flex;
    justify-content: space-between;
    padding-bottom: 20px;
}
.nav-button{
    display: none;
}

/* footer */
.footer{
    font-size: 14px;
    padding:40px 0;
    background-color: #3e382f;
    color:#fff;
    line-height: 2;
}



@media (max-width:1250px) {    
    .layout{
        width: 100%;   
        padding:0 30px;
    }
}
@media (max-width:960px) { 
    .navbox.layout{
        padding: 0;
    }
    .header{
        position: relative;
    }
    .telbox{
        display: none;
    }
    .nav{
        display: none;
    }
    .nav-button{
        display: block;
        width: 25px;
        height:20px;
        margin-left:10px;
    }
    .nav-button.hit span:nth-child(1){
        transform: translateY(9px) rotate(45deg);
    }
    .nav-button.hit span:nth-child(2){
        opacity: 0;
    }
    .nav-button.hit span:nth-child(3){        
        transform: translateY(-9px) rotate(-45deg);
    }
    .nav.hit a{
        display: block;
        text-align: center;
        line-height: 3;
        border-bottom: 1px solid #ddd;
    }
    .nav-button div{
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
    }  
    .nav-button span{
        width: 100%;
        height:2px;
        background-color: #004998;
        display: block;
        transition: .3s cubic-bezier(.8, .5, .2, 1.4);
    }
    .nav{
        position: absolute;
        width: 100%;
        bottom:0;      
        padding: 0;
        z-index: 5;
        box-sizing:content-box;
        background: #daecff;       
        opacity: 0;            
        transition: all .5s;
        height: 0;
        display: none;
    }
    .nav.hit{  
        height: auto;
        opacity: 1;
        transform: translateY(100%);
        display: block;
        transition: all .5s;
    }
    .footer .layout div{
        float:none;
        text-align: center;
    }
}
